package ink.tiptop.persist.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 服务远程视图(ZjfServiceRemoteView)实体类
 *
 * @author zjf
 * @since 2020-07-22 08:45:34
 */
@Data
@TableName("zjf_service_remote_view")
public class ZjfServiceRemoteViewEntity implements Serializable {
    private static final long serialVersionUID = 983666481873486830L;
    /**
    * 服务唯一 ID
    */
    @TableId(value = "`id`", type = IdType.AUTO)
    private Integer id;
    /**
    * service所属的父路径//opt/app/
    */
    @TableField("`parent`")
    private String parent;
    /**
    * service名称,如 webwork
    */
    @TableField("`name`")
    private String name;
    /**
    * 依赖分离的lib相对目录/lib
    */
    @TableField("`lib`")
    private String lib;
    /**
    * 配置分离的相对配置目录/resource
    */
    @TableField("`resource`")
    private String resource;
    /**
    * 启动/重启命令相对路径,如: /bin/start.sh
    */
    @TableField("`bin_start`")
    private String binStart;
    /**
    * 启动/重启命令相对路径,/bin/stop.sh
    */
    @TableField("`bin_stop`")
    private String binStop;
    /**
    * 启动优先级0最高 99最低
    */
    @TableField("`order`")
    private Integer order;
    /**
    * 关联服务器配置信息
    */
    @TableField("`server_id`")
    private Integer serverId;
    /**
    * 描述
    */
    @TableField("`desc`")
    private String desc;
    /**
    * 0:不忽视,1:忽视
    */
    @TableField("`ignore`")
    private Integer ignore;



}